package team.zero.lemon.module.workflow.dao;

import org.apache.ibatis.annotations.Param;
import team.zero.lemon.common.persistence.ICrudDao;
import team.zero.lemon.common.persistence.annotation.MyBatisDao;
import team.zero.lemon.module.workflow.entity.Template;

import java.util.List;

@MyBatisDao
public interface ITemplateDao extends ICrudDao<Template> {
    public List<Template> findByVersionId(@Param("versionId") int versionId);
    public List<Template> findAllVersionTemplate();
    public List<Template> findVersionTemplatePage(Template template);

}